$OpenBSD: patch-src_rspamadm_CMakeLists_txt,v 1.7 2017/03/08 17:02:13 sthen Exp $
--- src/rspamadm/CMakeLists.txt.orig	Thu Feb  2 06:19:08 2017
+++ src/rspamadm/CMakeLists.txt	Sun Mar  5 15:23:51 2017
@@ -40,9 +40,9 @@ TARGET_LINK_LIBRARIES(rspamadm rspamd-server)
 TARGET_LINK_LIBRARIES(rspamadm ${RSPAMD_REQUIRED_LIBRARIES})
 TARGET_LINK_LIBRARIES(rspamadm rspamd-linenoise)
 
-IF (NOT DEBIAN_BUILD)
+IF (NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
     SET_TARGET_PROPERTIES(rspamadm PROPERTIES VERSION ${RSPAMD_VERSION})
-ENDIF (NOT DEBIAN_BUILD)
+ENDIF (NOT DEBIAN_BUILD AND NOT OPENBSD_BUILD)
 
 IF (ENABLE_FANN MATCHES "ON")
     TARGET_LINK_LIBRARIES(rspamadm fann)
